.Net Framework > v2.0.50727 > System > Runtime > InteropServices > Marshal > AllocHGlobal AllocHGlobal(Int32)
AllocHGlobal(IntPtr)


AllocHGlobal(Int32)

Category
Method
Description
Allocates memory from the unmanaged memory of the process using GlobalAlloc.
Type
IntPtr
Character
public, static
Parameters
NameTypeDescription
cbInt32
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

AllocHGlobal(IntPtr)

Category
Method
Description
Allocates memory from the process's unmanaged memory.
Type
IntPtr
Character
public, static
Parameters
NameTypeDescription
cbIntPtr
Attributes
NameValue/Assignment
ReliabilityContractAttributeSystem.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database